package com.wangzhixuan.service;

import java.lang.reflect.InvocationTargetException;
import java.util.Map;

import com.wangzhixuan.commons.utils.PageInfo;
import com.wangzhixuan.model.SurveyBase;
import com.wangzhixuan.model.vo.SurveyBaseVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-22
 */
public interface ISurveyBaseService extends IService<SurveyBase> {
	
	void selectDataGrid(PageInfo pageInfo);

	boolean insertSurveyBaseInfo(SurveyBaseVo surveyBaseVo) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException;

	Map<String, Object> selectSurveyDetail(Integer workId);
	
	Integer selectSurveyByWordId(Integer workId);
}
